<?php

use yii\db\Migration;

class m170811_084222_alert_isuser_info extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%isuser_info}}', 'parent_id', $this->integer(11) . ' not null default 0 comment \'父级发卡人\'');

    }

    public function safeDown()
    {
        $this->dropColumn('{{%isuser_info}}', 'parent_id');
    }
}
